<?php

namespace Modules\User\Entities;

use Modules\User\Entities\User;
use Modules\User\Entities\UserModel;

class UserWechat extends UserModel
{
    protected $fillable = ['unionid', 'openid', 'appid'];

    public function user() 
    {
        return $this->belongsTo(User::class);
    }

    // public function addresses()
    // {
    //     return $this->userinfo()->addresses();
    // }
}
